from common.config import get_url, cfg
from common.ui.label import Label
from selenium.webdriver.common.by import By
from webium.base_page import BasePage
from webium.find import Find

__author__ = 'a_bul'


class MyProfile(BasePage):
    def __init__(self):
        super(MyProfile, self).__init__(url=get_url(cfg.wgq.http))

    profile_username = Find(Label, By.CSS_SELECTOR, 'span.b-user-info_name')
    """@type : Label"""
